<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: fatfs.hal/mmc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_2441aed259fe884ac729d0a0c31d0193.html">fatfs.hal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">mmc.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mmc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef _MMC_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define _MMC_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">/* mmc.c */</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mmc_8h.html#ab7771efbbd1a015b449d838d7f09959a">wait_ready</a> ( <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> wt );</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a> <a class="code" href="mmc_8h.html#af4049fbbcf364fc59886118c79895507">mmc_disk_initialize</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a> <a class="code" href="mmc_8h.html#ac14ea06e6b2ce5ad9808db3c205db5e6">mmc_disk_status</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a> <a class="code" href="mmc_8h.html#a41eabb26301eb16450258417ed137d67">mmc_disk_read</a> ( <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> *buff , <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> sector , <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> count );</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a> <a class="code" href="mmc_8h.html#ab065915810044044697ca00bb6bc45c5">mmc_disk_write</a> ( <span class="keyword">const</span> <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> *buff , <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> sector , <a class="code" href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> count );</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a> <a class="code" href="mmc_8h.html#acbcb6fef21740379e9fdd989b16ab04a">mmc_disk_ioctl</a> ( <a class="code" href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a> cmd , <span class="keywordtype">void</span> *buff );</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keywordtype">void</span> <a class="code" href="mmc_8h.html#a34555655fe13a47c95b35a2c13b85847">mmc_disk_timerproc</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#endif                                            // _MMC_H_</span></div><div class="ttc" id="mmc_8h_html_af4049fbbcf364fc59886118c79895507"><div class="ttname"><a href="mmc_8h.html#af4049fbbcf364fc59886118c79895507">mmc_disk_initialize</a></div><div class="ttdeci">MEMSPACE DSTATUS mmc_disk_initialize(void)</div><div class="ttdoc">Public Functions. </div><div class="ttdef"><b>Definition:</b> <a href="mmc_8c_source.html#l00340">mmc.c:340</a></div></div>
<div class="ttc" id="mmc_8h_html_ab065915810044044697ca00bb6bc45c5"><div class="ttname"><a href="mmc_8h.html#ab065915810044044697ca00bb6bc45c5">mmc_disk_write</a></div><div class="ttdeci">MEMSPACE DRESULT mmc_disk_write(const BYTE *buff, DWORD sector, UINT count)</div></div>
<div class="ttc" id="mmc_8h_html_ac14ea06e6b2ce5ad9808db3c205db5e6"><div class="ttname"><a href="mmc_8h.html#ac14ea06e6b2ce5ad9808db3c205db5e6">mmc_disk_status</a></div><div class="ttdeci">MEMSPACE DSTATUS mmc_disk_status(void)</div><div class="ttdoc">Get Disk Status. </div><div class="ttdef"><b>Definition:</b> <a href="mmc_8c_source.html#l00420">mmc.c:420</a></div></div>
<div class="ttc" id="integer_8h_html_ad342ac907eb044443153a22f964bf0af"><div class="ttname"><a href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a></div><div class="ttdeci">unsigned long DWORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00031">integer.h:31</a></div></div>
<div class="ttc" id="diskio_8h_html_adba6790898ce4029c20a34b898ce73c1"><div class="ttname"><a href="diskio_8h.html#adba6790898ce4029c20a34b898ce73c1">DSTATUS</a></div><div class="ttdeci">BYTE DSTATUS</div><div class="ttdef"><b>Definition:</b> <a href="diskio_8h_source.html#l00020">diskio.h:20</a></div></div>
<div class="ttc" id="diskio_8h_html_aacdfef1dad6565f65c26d12fe0ea4b2b"><div class="ttname"><a href="diskio_8h.html#aacdfef1dad6565f65c26d12fe0ea4b2b">DRESULT</a></div><div class="ttdeci">DRESULT</div><div class="ttdef"><b>Definition:</b> <a href="diskio_8h_source.html#l00023">diskio.h:23</a></div></div>
<div class="ttc" id="integer_8h_html_a4ae1dab0fb4b072a66584546209e7d58"><div class="ttname"><a href="integer_8h.html#a4ae1dab0fb4b072a66584546209e7d58">BYTE</a></div><div class="ttdeci">unsigned char BYTE</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00022">integer.h:22</a></div></div>
<div class="ttc" id="cpu_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00025">cpu.h:25</a></div></div>
<div class="ttc" id="integer_8h_html_a36cb3b01d81ffd844bbbfb54003e06ec"><div class="ttname"><a href="integer_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a></div><div class="ttdeci">unsigned int UINT</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00019">integer.h:19</a></div></div>
<div class="ttc" id="mmc_8h_html_ab7771efbbd1a015b449d838d7f09959a"><div class="ttname"><a href="mmc_8h.html#ab7771efbbd1a015b449d838d7f09959a">wait_ready</a></div><div class="ttdeci">MEMSPACE int wait_ready(UINT wt)</div><div class="ttdoc">wait for card ready </div><div class="ttdef"><b>Definition:</b> <a href="mmc_8c_source.html#l00169">mmc.c:169</a></div></div>
<div class="ttc" id="mmc_8h_html_a34555655fe13a47c95b35a2c13b85847"><div class="ttname"><a href="mmc_8h.html#a34555655fe13a47c95b35a2c13b85847">mmc_disk_timerproc</a></div><div class="ttdeci">void mmc_disk_timerproc(void)</div><div class="ttdoc">Write Sector(s) </div><div class="ttdef"><b>Definition:</b> <a href="mmc_8c_source.html#l00708">mmc.c:708</a></div></div>
<div class="ttc" id="mmc_8h_html_acbcb6fef21740379e9fdd989b16ab04a"><div class="ttname"><a href="mmc_8h.html#acbcb6fef21740379e9fdd989b16ab04a">mmc_disk_ioctl</a></div><div class="ttdeci">MEMSPACE DRESULT mmc_disk_ioctl(BYTE cmd, void *buff)</div></div>
<div class="ttc" id="mmc_8h_html_a41eabb26301eb16450258417ed137d67"><div class="ttname"><a href="mmc_8h.html#a41eabb26301eb16450258417ed137d67">mmc_disk_read</a></div><div class="ttdeci">MEMSPACE DRESULT mmc_disk_read(BYTE *buff, DWORD sector, UINT count)</div><div class="ttdoc">Read Sector(s) </div><div class="ttdef"><b>Definition:</b> <a href="mmc_8c_source.html#l00433">mmc.c:433</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
